import { mod } from '../typings/module';

enum Roles {
    superAdmin = 0,
    admin = 1,
    user = 3
}

enum Roles {
    guide = 1,
    Success = "Hoho, success"
}

const testType1: MyType = {
    name: 'testType1',
    age: 0,
}

console.log(testType1.name);

const testType2: A.Foo = 'testType2';
const testType3: A.Bar = 'testType3';

console.log(testType2);
console.log(testType3);

const testType4: mod = {
    sex: 'testType4'
};

console.log(testType4.sex);

const h1 = document.createElement("div");
h1.innerHTML = Roles.Success;
document.body.appendChild(h1);
